package com.joelaws.prototype.client.rpc;

import java.util.List;

import com.joelaws.prototype.client.data.Message;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface MessagingAsync {

	public void getFromMessages(long user, AsyncCallback<List<Message>> callback);

	public void getToMessages(long user, AsyncCallback<List<Message>> callback);

	public void storeMessage(Message message, AsyncCallback<?> callback);

}
